package com.qf.talk.dao;

import com.qf.talk.model.FriendBase;
import com.qf.talk.model.FriendBaseExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FriendBaseDao {
    long countByExample(FriendBaseExample example);

    int deleteByExample(FriendBaseExample example);

    int deleteByPrimaryKey(Long userId);

    int insert(FriendBase record);

    int insertSelective(FriendBase record);

    List<FriendBase> selectByExample(FriendBaseExample example);

    FriendBase selectByPrimaryKey(Long userId);

    int updateByExampleSelective(@Param("record") FriendBase record, @Param("example") FriendBaseExample example);

    int updateByExample(@Param("record") FriendBase record, @Param("example") FriendBaseExample example);

    int updateByPrimaryKeySelective(FriendBase record);

    int updateByPrimaryKey(FriendBase record);
}